import request from '@/http/request'
// import { AxiosInstance } from "axios";

export function getChatList(params: any):any {
  return request.get('/chat/getFriendList', {params});
}

export function getChkSvg(params: any):any {
  return request.get('/login/getCheckSvg', {params});
}
export function login(data: any):any {
  return request.post('/login/userlogin', data);
}

export function getUserInfo(params: any):any {
  return request.get('/user/getUserInfo', {params});
}
